package com.cbgolf.oa.viewbean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author lq
 * @date 2017/11/2
 */

public class OrderBean {


  public String customerId;
  public String recordDate;
  public String orderPlace;
  public String orderTime;
  public String consumerOrderNo;
  public String consumerCarNo;
  public String memberCardNumber;
  public String identityName;
  public String customerPhone;
  public String name;
  public String totalCost;

  public OrderPerson orderPerson;

  public OrderPerson getOrderPerson() {
    return new OrderPerson();
  }

  public class OrderPerson {

    public String courseId;
    public String createdDate;
    public boolean delStatus;
    public boolean isDiscount;
    public String gender;
    public String id;
    public String info;
    public String lastUpdate;
    public String name;
    public String phone;
    public String userAccount;
    public int status;
    public List<String> outletIds;

  }

  public String serviceRate;
  public String discountRate;
  public String info;
  public String serviceCharge;
  public String discountAmount;
  public String preference;
  public String payable;
  public List<goods> goodsDetailList;

  public class goods {

    public String consumerItemId;
    public String goodsId;
    public String goodsName;
    public String goodsCode;
    public String standard;
    public String price;
    public String priceType;
    public String consumeNumber;
    public String payable;
    public String status;
  }

  public goods getGoods() {
    return new goods();
  }


  public String id;
  public String courseId;
  public String teeTimeId;
  public String picSrc;

  public List<Map<String, String>> customerInfoList;
  public Map<String, String> contact;


  //match---------------------------------------------------------------------------------------------
  public String msgPhoneNumber;
  public String instructions;
  public String thirdShouldPay;
  public String thirdActualPay;
  public String balanceShouldPay;
  public String balanceActualPay;
  public String userId;
  public String tradeNo;
  public String payType;
  public String reserveAccount;
  public String competitionName;
  public String logoUrl;
  public String consumerItem;
  public String openDatetime;



  public List<mem> playCustomerInfoList;
  public goodsInfo goodsInfo;

  public class mem implements Serializable {

    public String mobileId;
    public String name;
    public String price;

  }

  public class goodsInfo implements Serializable {

    public String id;
    public String detailId;
    public String goodsName;
    public String dateTime;
    public String price;
    public List<String> listLocal;

  }

  public class customer implements Serializable {

    public String mobileId;
    public String name;
    public String price;
  }

  //match return---------------------------------------------------------------------------------------
  public String createdDate;
  public String lastUpdate;
  public String refundReason;
  public String userAccount;
  public String createTime;

  //group
  public List<Value> orderValueCardDtoList;

  public class Value implements Serializable {

    public String balance;
    public String giveBalance;
    public String id;
    public String valueCardGrade;

  }

  //hotel details
  public dayRange dayRange;

  public class dayRange implements Serializable {

    public String end;
    public String start;
  }


  public List<Item> orderItems;

  public class Item implements Serializable {

    public String confirmTime;
    public String pictureSrc;
    public String price;
    public String productId;
    public String productName;
    public String quantity;
    public boolean reserved;
  }

  /**
   * 提交订单返回结果
   */
  public String code;

  public List<caddie> caddies;

  public class caddie implements Serializable {

    public String coustomerName;
    public String coustomerPhone;
    public String coustomerPrice;
    public orderCaddie orderCaddie;

    public orderCaddie getOrderCaddie() {
      return new orderCaddie();
    }

    public class orderCaddie implements Serializable {

      public String caddieId;
      public String caddieNumber;
      public String level;
      public String name;
      public String levelName;
      public String fee;
    }
  }

  public String cbPrice;

  public String couponPrice;
  public String courseName;
  public String coursePrice;
  public Customer customer;

  public class Customer {

    public String mobileId;
    public String name;
    public String position;
    public String price;
  }


  public String endorsePrice;
  public String errorMessage;
  public String groupName;
  public String holeType;
  public String hotelName;
  public String liveDay;
  public String orderId;


  public String orderSn;
  public String orderState;
  public String orderStateVal;
  public String orderType;
  public String personNum;
  public String personNumber;
  public String playCount;
  public String realityPrice;
  public String startTime;
  public String totalPrice;
  public String unitPrice;
  public String usedPayType;
  public String verificationCode;


  public String orderClassification;


}

